package com.tql.pandian.controller;

import com.tql.pandian.service.IStockCalculateService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("Feign调用接口")
@RestController
public class CaseAnalsyController {

    @Autowired
    private IStockCalculateService stockCalculateService;

    @PostMapping("/saveCaseAnalsy")
    public void saveCaseAnalsy() {
        //执行  Feign
        stockCalculateService.saveCaseAnalsy1();
    }
}
